﻿namespace Hicap.AuthorizationServer.Application.Dto.Common
{
    public class Filter
    {
        public string FkTableName { get; set; }
        public string Field { get; set; }
        public dynamic Value { get; set; }
        public FilterSymbol Symbol { get; set; }
        public Filter OtherFilter { get; set; }
        public LinkedSymbol LinkedSymbol { get; set; }

        public Filter()
        {
            Symbol = FilterSymbol.Contains;
            LinkedSymbol = LinkedSymbol.And;
        }
    }
}